package com.woniuxy.springboot01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author author
 * @Create 2023-09-08 10:58
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Course {
    private Integer cid;
    private String cname;
    //一门课有多个学生
    private List<Stu> stus;
}
